package com.solo.service;

import com.solo.entity.Article;

import java.util.List;

public interface ArticleService {
    /**
     * 新增用户
     * @param article
     * @return
     */
    public boolean addArticle(Article article);

    public boolean deleteArticle(Article article) ;

    public boolean updateArticle(Article Article) ;

    /**
     *
     * @return
     */
    public List<Article> selectAllArticle() ;

    public Article selectArticleById(Long id) ;
}
